package com.seari.tunnel.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.seari.tunnel.entity.OperationSpare;

@Repository
public interface OperationSpareMapper {
	List<OperationSpare> findOperationSpare();
	
	void deleteOperationSapreById(int id);
	
	void addOperationSpare(OperationSpare operationSpare);
	
	void updateOperationSpare(OperationSpare operationSpare);
	
	OperationSpare findOperationSpareById(int id);
	
	void updateCost(int os_id,String costNum);
	
	void updateBack(int os_id,String costNum);
}
